package com.v2.k4;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 测试获取运行环境
 */
public class Test2 {

	public static void main(String[] args) {
		AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext();

		System.out.println(applicationContext.getEnvironment().getSystemEnvironment());

	}

}
